home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="UTF-8"?>
- <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
- <xsl:output method="xml" version="1.0" encoding="ISO-8859-1" omit-xml-declaration="no" indent="no" media-type="text/html"/>
-
- <xsl:template match="/">
- <html>
- <body>
- <xsl:apply-templates/>
- </body>
- </html>
- </xsl:template>
-
- <xsl:template match="Properties">
- <tr>
- <td>
- </td>
- <td>
- <h3>
- <b>Eigenschaften</b>
- </h3>
- <table border="1" width="100%">
- <tr bgcolor="#C0C0C0">
- <td width="10%">
- <b>Name</b>
- </td>
- <td width="20%">
- <b>Wert</b>
- </td>
- </tr>
- <xsl:apply-templates select="Property|CProperty"/>
- </table>
- <br/>
- </td>
- </tr>
- </xsl:template>
- <xsl:template match="Property">
- <tr bgcolor="#E0E0E0">
- <td>
- <xsl:value-of select="@name"/>
- </td>
- <td>
- <xsl:value-of select="."/>
- </td>
- </tr>
- </xsl:template>
- <xsl:template match="CProperty">
- <tr bgcolor="#E0E0E0">
- <td>
- <xsl:value-of select="@name"/>
- </td>
- <td>
- <table border="1" width="100%">
- <tr bgcolor="#C0C0C0">
- <td width="10%">
- </td>
- <td width="20%">
- </td>
- </tr>
- <xsl:apply-templates select="SProperty|SCProperty"/>
- </table>
- </td>
- </tr>
- </xsl:template>
- <xsl:template match="SProperty">
- <tr bgcolor="#E0E0E0">
- <td>
- <xsl:value-of select="@name"/>
- </td>
- <td>
- <xsl:value-of select="."/>
- </td>
- </tr>
- </xsl:template>
- <xsl:template match="SCProperty">
- <tr bgcolor="#E0E0E0">
- <td>
- <xsl:value-of select="@name"/>
- </td>
- <td>
- <table border="1" width="100%">
- <tr bgcolor="#C0C0C0">
- <td width="10%">
- </td>
- <td width="20%">
- </td>
- </tr>
- <xsl:apply-templates select="SProperty|SCProperty"/>
- </table>
- </td>
- </tr>
- </xsl:template>
-
-
- </xsl:stylesheet>
-